package com.yytek.common.client.net.model;

import java.util.Map;

/**
 * 子设备上报属性和事件信息
 */
public class SubDevices {
    /**
     * 产品id
     */
    private String productKey;
    /**
     * 设备名称
     */
    private String deviceName;
    /**
     * 属性信息
     */
    private Map<String, PropertyValueInfo> properties;
    /**
     * 事件信息
     */
    private Map<String, EventValueInfo> events;

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Map<String, PropertyValueInfo> getProperties() {
        return properties;
    }

    public void setProperties(Map<String, PropertyValueInfo> properties) {
        this.properties = properties;
    }

    public Map<String, EventValueInfo> getEvents() {
        return events;
    }

    public void setEvents(Map<String, EventValueInfo> events) {
        this.events = events;
    }
}
